import {
  wxRequest
} from '@/utils/wxRequest';

const apiMall = 'http://172.17.10.6:8801'
// const apiMall = 'http://localhost:8080/'
/**
 * 获取发现好商品接口
 * @param  {[type]} params [description]
 * @return {[type]}        [description]
 */
//微信的jscode换取sessionKey
const wxJsCode2Session = (params) => wxRequest(params, apiMall + "/shenglian-fast/app/weixin/login");
export default {
  wxJsCode2Session
}
